package com.czmh.etc.onlinepubsys.entity.wj;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.czmh.etc.onlinepubsys.constants.mingchuang.CertifiType;
import com.czmh.etc.onlinepubsys.constants.mingchuang.ChargeType;
import com.czmh.etc.onlinepubsys.constants.mingchuang.VehColorType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Setter@Getter
@ApiModel("车辆具体信息")
@TableName("wj_carinfo")
public class CarInfo {
    @TableId
    @JSONField(serialize = false)
    private String id;

    @ApiModelProperty("用户ID")
    @TableField("user_id")
    @JSONField(serialize = false)
    private String userId;

    @ApiModelProperty(value = "车主姓名", required = false)
    @TableField("carOwner")
    private String carOwner;

    @ApiModelProperty("车牌号")
    @TableField("vehPlateNo")
    private String vehPlateNo; //车牌号

    @ApiModelProperty(value = "车牌号类型 02-小型汽车,蓝牌 01-大型汽车,黄牌 51-大型新能源车辆,黄绿牌 52-小型新能源车辆,绿白牌", required = false)
    @TableField("carType")
    private String carType;

    @ApiModelProperty(value = "车型种类（0：未知 1 ：轿 车 2 ： 客车 3：货车、4： 专项作业车、1427:货车牵引车、1424:仅货物专用运输(集装 箱 ) 牵引车 ）、1428:其他类型牵引车型种类（0：未知 1 ： 轿 车 2 ： 客车 3：货车、4：专项作业车、1427:货车牵引车、1424:仅货物专用运输(集装 箱 ) 牵引车 ）、1428:其他类型牵引车", required = false)
    @TableField("vehType")
    private String vehType;

    @ApiModelProperty(value = "车辆识别代号", required = false)
    @TableField("vehVin")
    private String vehVin;

    @ApiModelProperty(value = "车辆长，小于 6000", required = false)
    @TableField("vehLength")
    private String vehLength;

    @ApiModelProperty(value = "车辆宽", required = false)
    @TableField("vehWidth")
    private String vehWidth;

    @ApiModelProperty(value = "车辆高", required = false)
    @TableField("vehHeight")
    private String vehHeight;

    @ApiModelProperty(value = "车轮数", required = false)
    @TableField("vehWheels")
    private String vehWheels;

    @ApiModelProperty(value = "车辆发动机号", required = false)
    @TableField("vehEngineNumber")
    private String vehEngineNumber;

    @ApiModelProperty(value = "车轴数", required = false)
    @TableField("vehAxles")
    private String vehAxles;

    @ApiModelProperty(value = "车品牌型号", required = false)
    @TableField("vehBrandCode")
    private String vehBrandCode;

    @ApiModelProperty(value = "车身质量 （ 整备质量）", required = false)
    @TableField("vehBodyWeight")
    private String vehBodyWeight;

    @ApiModelProperty(value = "车辆行驶证注册日期 yyyy-MM-dd", required = false)
    @TableField("vehLicenseRegistdate")
    private String vehLicenseRegistdate;

    @ApiModelProperty(value = "核定载质量 Kg/座位数（客车时，为座位数、货车时为核定载质 量 。 当为牵引车时 ，填写准牵引质量）", required = false)
    @TableField("vehTotalWeight")
    private String vehTotalWeight;

    @ApiModelProperty(value = "货车核定载人数", required = false)
    @TableField("vehLimitManned")
    private Integer vehLimitManned;

    @ApiModelProperty(value = "车牌颜色 0-蓝；1-黄；2-黑；3-白；4-绿白；5-绿黄；", required = false)
    @TableField("plateColor")
    private String plateColor;

    @ApiModelProperty(value = "用户标识", required = false)
    private String gid;
}
